<?php


namespace app\util;


class Out
{
    public static function success($data) {
        return json([
            'code' => 200,
            'data' => $data
        ]);
    }
}